package cn.mxh.pethspt.entity;

import java.time.LocalDateTime;

public class DingTotal {
    /*订单总表号*/
    private Integer totalId;
    /*就诊id*/
    private Integer jId;
    /*主人id*/
    private Integer uId;
    /*下单时间*/
    private LocalDateTime dingTime;
    /*金额*/
    private Double dingSum;

    public DingTotal(){

    }

    public DingTotal( Integer jId, Integer uId, LocalDateTime dingTime, Double dingSum) {
        this.totalId = totalId;
        this.jId = jId;
        this.uId = uId;
        this.dingTime = dingTime;
        this.dingSum = dingSum;
    }

    public DingTotal(Integer totalId, Integer jId, Integer uId, LocalDateTime dingTime, Double dingSum) {
        this.totalId = totalId;
        this.jId = jId;
        this.uId = uId;
        this.dingTime = dingTime;
        this.dingSum = dingSum;
    }

    public Integer getTotalId() {
        return totalId;
    }

    public void setTotalId(Integer totalId) {
        this.totalId = totalId;
    }

    public Integer getjId() {
        return jId;
    }

    public void setjId(Integer jId) {
        this.jId = jId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public LocalDateTime getDingTime() {
        return dingTime;
    }

    public void setDingTime(LocalDateTime dingTime) {
        this.dingTime = dingTime;
    }

    public Double getDingSum() {
        return dingSum;
    }

    public void setDingSum(Double dingSum) {
        this.dingSum = dingSum;
    }

    @Override
    public String toString() {
        return "DingTotal{" +
                "totalId=" + totalId +
                ", jId=" + jId +
                ", uId=" + uId +
                ", dingTime=" + dingTime +
                ", dingSum=" + dingSum +
                '}';
    }
}
